import React from 'react';
import { Button } from 'antd';
import { DatePicker } from 'antd';
import { Divider } from 'antd';


import { ConfigProvider } from 'antd';
import zhCN from 'antd/lib/locale/zh_CN';
import moment from 'moment';
import 'moment/locale/zh-cn';


import './App.css';


moment.locale('zhCN');

const App = () => (
  <ConfigProvider 
    autoInsertSpaceInButton={false}
    locale={zhCN}
  >
  <div className="App">
    <Button type="primary" danger >按钮</Button>
    <Divider>我是分割线</Divider>
    <DatePicker />
  </div>
  </ConfigProvider>
);

export default App;